package myapps.ttclient.udpreceiver;

import android.app.Activity;
import android.widget.ImageView;

public class ScreenshotReceiver {
	protected boolean isPaused;
	
	public synchronized Boolean getIsPaused()
	{
		return this.isPaused;
	}

	public synchronized void pause() {
		this.isPaused = true;
	}

	public synchronized void unpause() {
		this.isPaused = false;
	}
	
	//////////////////////////////////////////////////////////////
	protected Activity slideShowActivity = null;
	protected ImageView imageView = null;
	
	protected void set(Activity slideShowActivity, ImageView imageView){
		this.slideShowActivity = slideShowActivity;
		this.imageView = imageView;
	}

}
